Fix cursor motion in bidi-reordered continued lines.
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 12:51:01 +0000 (15:51 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 12:51:01 +0000 (15:51 +0300)
 xdisp.c (try_cursor_movement): Backup to non-continuation line
 only after finding point's row.  Fix the logic.  Rewrite the loop
 over continuation lines in bidi-reordered buffers.  Return
 CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row,
 rather than CURSOR_MOVEMENT_CANNOT_BE_USED.

1  2 
src/ChangeLog

diff --cc src/ChangeLog
index dab544f0e29624b577bc5ae115e8d155081e3130,adfd1faa931244d1671b88361cbbfd22d43b4fa6..76363b81b3a81e9c86b3322819a9c510f74e1c65
@@@ -1,6 -1,14 +1,15 @@@
 -      * xdisp.c (try_cursor_movement): Fix the logic.  Rewrite the loop
+ 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
 -2010-05-28  Eli Zaretskii  <eliz@gnu.org>
++      Fix cursor motion in bidi-reordered continued lines.
++      * xdisp.c (try_cursor_movement): Backup to non-continuation line
++      only after finding point's row.  Fix the logic.  Rewrite the loop
+       over continuation lines in bidi-reordered buffers.  Return
+       CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row,
+       rather than CURSOR_MOVEMENT_CANNOT_BE_USED.
 +2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * xdisp.c (try_cursor_movement): Backup to non-continuation line
 -      only after finding point's row.
 +      * fileio.c (Fdelete_file): Pass TRASH arg to handler call.
  
  2010-05-28  Kenichi Handa  <handa@m17n.org>